<style>
    .tree-folder{
        clear: both;
        background: none;
    }
    .tree-folder-open{
        clear: both;
        background: none;
    }
    /*.fa{*/
    /*margin-top: 3px;*/
    /*}*/
    td[field=sDepName] > .datagrid-cell > .fa{
        /*height: inherit;*/
        margin-top: 3px;
    }
    .tree-file{
        clear: both;
        background: none;
    }

</style>
<script>
    var nowUserId={{ nowUserId }};
</script>

<table style="width: 100%;height: 100%">
    <tbody>
    <tr>
        <td id="depTree" style="width: 280px" >

            <div id="cc" class="easyui-resizable" style="width:100%;height:100%;border:0px solid #ccc;"  data-options="maxWidth:450,minWidth:200">
                <table id="depList" title="部门列表"  class="easyui-treegrid" style="height: 100%"
                       data-options="
                url: '{{ url('hrm/staff/getDepWithPower') }}',
                method: 'post',
                rownumbers: true,
                idField: 'iDepId',
                treeField: 'sDepName',
                " >

                    <thead>
                    <tr>
                        <th data-options="field:'ck',checkbox:true"></th>
                        <th data-options="field:'iDepId'" width="20" hidden>iDepId</th>
                        <th data-options="field:'sDepName'" width="220" align="left">部门名称</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </td>


        <td class="xh-datagrid">{{ bookList }}</td>

    </tr>
    </tbody>
</table>